package com.simple.relaxed.anno;

import com.simple.relaxed.constant.Constant;

import java.lang.annotation.*;

/**
 * 被标记的方法会被增强到指定的堆栈中
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface TaskMethod {

    int stackFlag() default Constant.OTHER_STACK;
}
